package com.gitee.xhs.savePointReader.broadcastState;

import cn.hutool.core.date.DateUtil;

import java.util.Date;

/**
 * @author BigHead
 * @date 2022/7/7 10:14
 * @description BroadcastStateExhibitor
 */
public class BroadcastStateExhibitor {

    private String jobId;

    private String operatorUid;

    private Long accountId;

    private long dateTime;

    private String showMessage;

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public String getOperatorUid() {
        return operatorUid;
    }

    public void setOperatorUid(String operatorUid) {
        this.operatorUid = operatorUid;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public long getDateTime() {
        return dateTime;
    }

    public void setDateTime(long dateTime) {
        this.dateTime = dateTime;
    }

    public String getShowMessage() {
        return showMessage;
    }

    public void setShowMessage(String showMessage) {
        this.showMessage = showMessage;
    }

    @Override
    public String toString() {
        return "BroadcastStateExhibitor{" +
                "jobId='" + jobId + '\'' +
                ", operatorUid='" + operatorUid + '\'' +
                ", accountId=" + accountId +
                ", dateTimeString='" + DateUtil.formatDateTime(new Date(dateTime)) + "'" +
                ", showMessage='" + showMessage + '\'' +
                '}';
    }
}
